package com.po;

import java.util.HashSet;
import java.util.Set;



/**
 * SProductDetails entity. @author MyEclipse Persistence Tools
 */

public class SProductDetails  implements java.io.Serializable {


    // Fields    

     private Integer DId;
     private Integer productNo;
     private String details;
     private String pic1;
     private String pic2;
     private String pic3;
     private Set<SProduct> products = new HashSet<SProduct>();


    // Constructors

    /** default constructor */
    public SProductDetails() {
    }

	/** minimal constructor */
    public SProductDetails(Integer productNo) {
        this.productNo = productNo;
    }
    
    /** full constructor */
    public SProductDetails(Integer productNo, String details, String pic1, String pic2, String pic3) {
        this.productNo = productNo;
        this.details = details;
        this.pic1 = pic1;
        this.pic2 = pic2;
        this.pic3 = pic3;
    }

   
    // Property accessors

    public Integer getDId() {
        return this.DId;
    }
    
    public void setDId(Integer DId) {
        this.DId = DId;
    }

    public Integer getProductNo() {
        return this.productNo;
    }
    
    public void setProductNo(Integer productNo) {
        this.productNo = productNo;
    }

    public String getDetails() {
        return this.details;
    }
    
    public void setDetails(String details) {
        this.details = details;
    }

    public String getPic1() {
        return this.pic1;
    }
    
    public void setPic1(String pic1) {
        this.pic1 = pic1;
    }

    public String getPic2() {
        return this.pic2;
    }
    
    public void setPic2(String pic2) {
        this.pic2 = pic2;
    }

    public String getPic3() {
        return this.pic3;
    }
    
    public void setPic3(String pic3) {
        this.pic3 = pic3;
    }

	public Set<SProduct> getProducts() {
		return products;
	}

	public void setProducts(Set<SProduct> products) {
		this.products = products;
	}

	@Override
	public String toString() {
		return "SProductDetails [DId=" + DId + ", productNo=" + productNo
				+ ", details=" + details + ", pic1=" + pic1 + ", pic2=" + pic2
				+ ", pic3=" + pic3 + ", products=" + products + "]";
	}







}